package com.bh.order.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.bh.common.annotation.Dict;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.DictLabelVo;
import com.bh.common.enums.YesOrNo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @author Administrator
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class JcOrderCustVO extends DictLabelVo {

    @Excel(name = "组织机构")
    private String organizationName;

    @Excel(name = "订单编号")
    private String orderCode;

    @Excel(name = "发货单号")
    private String relateBill1;

    @Excel(name = "客户单号")
    private String relateBill2;

    @Excel(name = "开单日期", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date orderTime;

    @Excel(name = "客户名称", align = HorizontalAlignment.LEFT)
    private String customerName;

    @Excel(name = "回单份数")
    private Integer backNumber;

    @Excel(name = "入库区域")
    private String zoneStorerName;

    @Excel(name = "货品名称")
    private String productName;

    @Excel(name = "货品数量")
    private Integer orderNumber;

    @Excel(name = "收货联系人", align = HorizontalAlignment.LEFT)
    private String toContactPerson;

    @Excel(name = "收货电话")
    private String toIphone;

    @Excel(name = "收货地址", align = HorizontalAlignment.LEFT)
    private String toAddress;


    @Excel(name = "备注")
    private String orderDescription;

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
